|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
Microcontrollers ApNote APXXXX01.EXE available AP1616 o additional file Software Modifications of Register WDTCON The time period which is monitored by the Watchdog Timer is programmable via register WDTCON in two ways... C. Meinold / Siemens HL MCB AT Semiconductor Group 12.96, Rel. 01 Software Modifications of Register WDTCON Software Modifications of Register WDTCON The time period which is monitored by the Watchdog Timer is programmable via register WDTCON in two ways: - bit WDTIN allows selection of the prescaler factor for the input clock to the Watchdog Timer - bit field WDTREL in the high byte of WDTCON represents the 8-bit reload value for the high byte of the Watchdog Timer Register WDT This results in the following range for the monitored time period: Monitored Time Period in TCL / @ 20 MHz WDTIN = 0 WDTIN = 1 1024 TCL / 25.6 s 64 * 1024 TCL = 65536 TCL / 1.6 ms 256 * 1024 TCL 64 * 256 * 1024 TCL = 262144 TCL / 6.55 ms = 16 777 216 TCL / 419 ms Reload Value WDTREL 0FFh 00h Software modifications of register WDTCON may be performed at any time during program execution, however, modifications of WDTIN and WDTREL will become effective at different times: A change of bit WDTIN will immediately (at the end of the execute phase of the instruction which writes to WDTCON) switch the clock input for the Watchdog Timer to the selected prescaled CPU clock. This means that when changing WDTIN from 0 to 1 (fast to slow clock), the Watchdog Timer will get the next clock tick within the next 0 .. 1024 TCL. When changing WDTIN from 1 to 0 (slow to fast clock), the Watchdog Timer will get the next clock tick within the next 0 .. 4 TCL. When bit field WDTREL is modified, the new value will not be transferred into the high byte of WDT until either the Watchdog Timer overflows or the SRVWDT (Service Watchdog Timer) instruction is executed. Therefore, if an immediate transfer of WDTREL into the high byte of WDT is desired, SRVWDT must be executed after WDTREL has been written to WDTCON. Semiconductor Group 2 of 2 AP1616 12.96 |
Price & Availability of AP1616 |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |